
<!doctype html>
<html lang="zh">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="<%= page.description %>">
  <meta name="keywords" content="<%= page.keywords %>">
  <title><%= page.title %></title>
  <link rel="stylesheet" href="https://unpkg.com/purecss@0.6.1/build/pure-min.css" integrity="sha384-CCTZv2q9I9m3UOxRLaJneXrrqKwUNOzZ6NGEUMwHtShDJ+nCoiXJCAgi05KfkLGY" crossorigin="anonymous">
  <link type="text/css" rel="styleSheet"  href="/static/pepm.css" />
  <link href="/static/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
  <style>
    .body,.header,.footer{max-width: 900px;margin:auto;}
  </style>
</head>
<body>
<div class="wrap" >
  <div class="header-wrap" >
  <div class="header">
    <h1>9Crm.TOP</h1>
  </div>
  <div id="top-menu" >
    <ul>
      <li><a href="/" >首页</a></li>
      <li><a href="/products/">我们的产品</a></li>
      <li><a href="/news/">我们的新闻</a></li>
      <li><a href="/about/">关于我们</a></li>
    </ul>
  </div>
</div>

<div class="body-wrap" >
	<div class="body <%= page.id %>" >
    <div class="pure-g">
      <div class="pure-u-1-3">
        <% if (typeof(menu)!='undefined' && menu.length) { %>
          <ul>
            <% menu.forEach(function(name){ %>
              <li><a href="/<%= name.id%>/" ><%= name.title%></a></li>
            <% }) %>
          </ul>
        <% } %>

      </div>
      <div class="pure-u-2-3">
        <% if (typeof(page.title)!='undefined') { %>
          <h1><%= page.title %></h1>
        <% }%>
        <% if (typeof(page.content)!='undefined') { %>
          <div><%-page.html%></div>

        <% }%>
        <% if (typeof(list)!='undefined' && list.length) { %>
          <ul>
            <% list.forEach(function(name){ %>
              <li><a href="/<%= name.id%>/" ><%= name.title%></a></li>
            <% }) %>
          </ul>
        <% } %>
      </div>
    </div>
  </div>
</div>
<div class="footer" >
  Powered By <a href="http://www.pepm.com.cn" >PEPM</a>
</div>
</div>
</body>
</html>
